package xyx.ysfwpt.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="订单信息")
public class Order {
    @ApiModelProperty("订单id")
    String order_id;
    @ApiModelProperty("医院名称")
    String hospital;
    @ApiModelProperty("总价格（含运费）")
    float total_price;
    @ApiModelProperty("就诊卡id")
    String treatment_card;
    @ApiModelProperty("收货人姓名")
    String receive_person_name;
    @ApiModelProperty("开始时间（下单时间）")
    String start_time;
    @ApiModelProperty("结束时间（完成交易时间）")
    String end_time;
    @ApiModelProperty("订单状态")
    String state;
    @ApiModelProperty("订单来源")
    String source;
    @ApiModelProperty("取药方式（在线/自取）")
    String type;
    @ApiModelProperty("自取支付方式（线上/线下）")
    String payment_method;
    @ApiModelProperty("取药编码（自取）")
    String medicineNO;
    @ApiModelProperty("是否支付")
    Integer is_payed;

    @ApiModelProperty("快递id")
    String express_id;
    @ApiModelProperty("运费")
    float express_price;
    @ApiModelProperty("快递公司名称")
    String express_company_name;

    @ApiModelProperty("患者id")
    Integer patient_id;
    @ApiModelProperty("患者姓名")
    String patient_name;
    @ApiModelProperty("患者联系方式")
    String patient_phone;

    @ApiModelProperty("收货人联系方式")
    String receive_person_phone;
    @ApiModelProperty("邮编")
    String receive_person_post_code;
    @ApiModelProperty("收货地址")
    String receive_person_addr;

    @ApiModelProperty("处方id")
    String prescription_id;
    @ApiModelProperty("药店id")
    String medical_company_id;
    @ApiModelProperty("药店名称")
    String medical_company_name;

    //患者端拒绝操作（发起取消订单、退药、退款申请）
    @ApiModelProperty("是否已收到药品")
    Integer is_received_drug;
    @ApiModelProperty("取消订单原因（未支付）")
    String return_order_reason;
    @ApiModelProperty("退药原因")
    String return_drug_reason;
    @ApiModelProperty("退款原因")
    String return_money_reason;
    @ApiModelProperty("退款金额")
    String return_money_amount;

    //医院端拒绝操作（取消订单、拒绝退药、拒绝退款）
    @ApiModelProperty("取消订单原因")
    String order_cancel_reason;
    @ApiModelProperty("拒绝退药原因")
    String refuse_return_drug_reason;
    @ApiModelProperty("拒绝退款原因")
    String refuse_return_money_reason;

    @ApiModelProperty("支付宝支付流水号")
    Integer alipay_serial_number;

    @ApiModelProperty("医生id")
    String user_id;
    @ApiModelProperty("医生所属科室")
    String user_department;

    @ApiModelProperty("额外信息")
    String express_msg;
    @ApiModelProperty("更新时间")
    String update_time;

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getHospital() {
        return hospital;
    }

    public void setHospital(String hospital) {
        this.hospital = hospital;
    }

    public float getTotal_price() {
        return total_price;
    }

    public void setTotal_price(float total_price) {
        this.total_price = total_price;
    }

    public String getTreatment_card() {
        return treatment_card;
    }

    public void setTreatment_card(String treatment_card) {
        this.treatment_card = treatment_card;
    }

    public String getReceive_person_name() {
        return receive_person_name;
    }

    public void setReceive_person_name(String receive_person_name) {
        this.receive_person_name = receive_person_name;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPayment_method() {
        return payment_method;
    }

    public void setPayment_method(String payment_method) {
        this.payment_method = payment_method;
    }

    public String getMedicineNO() {
        return medicineNO;
    }

    public void setMedicineNO(String medicineNO) {
        this.medicineNO = medicineNO;
    }

    public Integer getIs_payed() {
        return is_payed;
    }

    public void setIs_payed(Integer is_payed) {
        this.is_payed = is_payed;
    }

    public String getExpress_id() {
        return express_id;
    }

    public void setExpress_id(String express_id) {
        this.express_id = express_id;
    }

    public float getExpress_price() {
        return express_price;
    }

    public void setExpress_price(float express_price) {
        this.express_price = express_price;
    }

    public String getExpress_company_name() {
        return express_company_name;
    }

    public void setExpress_company_name(String express_company_name) {
        this.express_company_name = express_company_name;
    }

    public Integer getPatient_id() {
        return patient_id;
    }

    public void setPatient_id(Integer patient_id) {
        this.patient_id = patient_id;
    }

    public String getPatient_name() {
        return patient_name;
    }

    public void setPatient_name(String patient_name) {
        this.patient_name = patient_name;
    }

    public String getPatient_phone() {
        return patient_phone;
    }

    public void setPatient_phone(String patient_phone) {
        this.patient_phone = patient_phone;
    }

    public String getReceive_person_phone() {
        return receive_person_phone;
    }

    public void setReceive_person_phone(String receive_person_phone) {
        this.receive_person_phone = receive_person_phone;
    }

    public String getReceive_person_post_code() {
        return receive_person_post_code;
    }

    public void setReceive_person_post_code(String receive_person_post_code) {
        this.receive_person_post_code = receive_person_post_code;
    }

    public String getReceive_person_addr() {
        return receive_person_addr;
    }

    public void setReceive_person_addr(String receive_person_addr) {
        this.receive_person_addr = receive_person_addr;
    }

    public String getPrescription_id() {
        return prescription_id;
    }

    public void setPrescription_id(String prescription_id) {
        this.prescription_id = prescription_id;
    }

    public String getMedical_company_id() {
        return medical_company_id;
    }

    public void setMedical_company_id(String medical_company_id) {
        this.medical_company_id = medical_company_id;
    }

    public String getMedical_company_name() {
        return medical_company_name;
    }

    public void setMedical_company_name(String medical_company_name) {
        this.medical_company_name = medical_company_name;
    }

    public Integer getIs_received_drug() {
        return is_received_drug;
    }

    public void setIs_received_drug(Integer is_received_drug) {
        this.is_received_drug = is_received_drug;
    }

    public String getReturn_order_reason() {
        return return_order_reason;
    }

    public void setReturn_order_reason(String return_order_reason) {
        this.return_order_reason = return_order_reason;
    }

    public String getReturn_drug_reason() {
        return return_drug_reason;
    }

    public void setReturn_drug_reason(String return_drug_reason) {
        this.return_drug_reason = return_drug_reason;
    }

    public String getReturn_money_reason() {
        return return_money_reason;
    }

    public void setReturn_money_reason(String return_money_reason) {
        this.return_money_reason = return_money_reason;
    }

    public String getReturn_money_amount() {
        return return_money_amount;
    }

    public void setReturn_money_amount(String return_money_amount) {
        this.return_money_amount = return_money_amount;
    }

    public String getOrder_cancel_reason() {
        return order_cancel_reason;
    }

    public void setOrder_cancel_reason(String order_cancel_reason) {
        this.order_cancel_reason = order_cancel_reason;
    }

    public String getRefuse_return_drug_reason() {
        return refuse_return_drug_reason;
    }

    public void setRefuse_return_drug_reason(String refuse_return_drug_reason) {
        this.refuse_return_drug_reason = refuse_return_drug_reason;
    }

    public String getRefuse_return_money_reason() {
        return refuse_return_money_reason;
    }

    public void setRefuse_return_money_reason(String refuse_return_money_reason) {
        this.refuse_return_money_reason = refuse_return_money_reason;
    }

    public Integer getAlipay_serial_number() {
        return alipay_serial_number;
    }

    public void setAlipay_serial_number(Integer alipay_serial_number) {
        this.alipay_serial_number = alipay_serial_number;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getUser_department() {
        return user_department;
    }

    public void setUser_department(String user_department) {
        this.user_department = user_department;
    }

    public String getExpress_msg() {
        return express_msg;
    }

    public void setExpress_msg(String express_msg) {
        this.express_msg = express_msg;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

}